package com.quanyan.place.mapper;

import com.quanyan.place.entity.TbBizPlaceVisitedExample;
import com.quanyan.place.entity.apireq.ReqVisitedVo;
import com.quanyan.place.entity.apiresp.RespVisitInfo;
import com.quanyan.place.entity.vo.VisitedFromDataVo;

import java.util.List;

public interface VisitedMapper {

    int insert(VisitedFromDataVo visitedFromDataVo);

    int  updateVisitedRecord(VisitedFromDataVo visitedFromDataVo);

    int  updateVisitedRecordByLeader(VisitedFromDataVo visitedFromDataVo);

    int countByExample(TbBizPlaceVisitedExample example);

    List<VisitedFromDataVo> selectByExample(TbBizPlaceVisitedExample example);

    VisitedFromDataVo selectVisitedRecord(VisitedFromDataVo visitedFromDataVo);

    List< RespVisitInfo>getVisitedInfo(ReqVisitedVo reqVisitedVo);

   int getVisitedInfoCount(ReqVisitedVo reqVisitedVo);

    List< RespVisitInfo> getVisitedInfoToReP(ReqVisitedVo reqVisitedVo);

    int getVisitedInfoToRePCount(ReqVisitedVo reqVisitedVo);

}